package com.googlecode.astoolkit.utils {
	
	import com.googlecode.astoolkit.modules.content.section.NullSection;

	dynamic public class NullNode extends AbstractNode implements INode {
		
		private var _id:int;
		//private var _label:String;
		private var _path:String
		//private var _className:String;
		private var _children:Array;
		private var _parent:INode;
		//private var _instance:ISection;
		//private var _showInContextMenu:Boolean;
		
		public function NullNode() {
			super(new XML());
			_id = -1;
			//_label = "";
			this.path = "";
			//_className = "";
			_parent = null;
			//_instance = new NullSection();
			this.instance = new NullSection();
			//_showInContextMenu=false;
			
		}
		    
		/* public function addChildNode(node:INode):void{
			//
		} */
		
		
		// Getter Setter de id
		/* public function set id (value:int):void{
			//
		}
		public function get id ():int{
			return _id;
		} */

		// Getter Setter de label
		/* public function set label (value:String):void{
			//
		}
		public function get label ():String{
			return _label;
		} */	
		
		// Getter Setter de link
		/* public function set path (value:String):void{
			//
		}
		public function get path ():String{
			return _path;
		}  */

		// Getter Setter de children
		/* public function set children (value:Array):void{
			//
		}
		public function get children ():Array{
			return _children;
		} */	
		
		// Getter Setter de className
		/* public function set className (value:String):void{
			//
		}
		public function get className ():String{
			return _className;
		} */
		// Getter Setter de instance
		/* public function set instance (value:ISection):void{
			//
		}
		public function get instance ():ISection{
			return _instance;
		} */
		
		// Getter Setter de parent
		/* public function set parent (value:INode):void{
			//
		}
		public function get parent ():INode{
			return _parent;
		} */
		
		// Getter Setter de showInContextMenu
		/* public function set showInContextMenu (value:Boolean):void{
			//
		}
		public function get showInContextMenu ():Boolean{
			return _showInContextMenu;
		} */


		
		public function toString():String{
			//return '[object NullNode id:"'+id+'" link:"'+link+ " instance:"+_instance+"]";
			return '[object NullNode id:"' + id + "]";
		} 
		
		
		

	}
}